package com.luyu.req;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @Author lyh
 */
@Data
public class Animal {
    @NotNull(message = "动物名称")
    private String nameA;

    @NotNull(message = "动物年龄")
    private Integer ageB;


}
